package cc.idoone.spring_boot_hello.druid;

import com.alibaba.druid.support.http.WebStatFilter;

import javax.servlet.annotation.WebFilter;
import javax.servlet.annotation.WebInitParam;

/**
 * SpringBean 方式
 *
 * @author hemj
 * @since 2017/10/20
 */
@WebFilter(filterName = "druidWebStatFilter", urlPatterns = "/*",
		initParams = {
				@WebInitParam(name = "exclusions", value = "*.js,*.gif,*.jpg,*.bmp,*.png,*.css,*.ico,/druid/*") // 忽略资源
		})
public class DruidStatFilter extends WebStatFilter {

}
